:root {
  --cream: #fbf5ea;
  --paper: #fffdf9;
  --ink: #21332f;
  --muted: #6e7d79;
  --teal: #0d675d;
  --teal-deep: #07554d;
  --mint: #d9f1eb;
  --mint-strong: #bde2d8;
  --coral: #ee755f;
  --line: #dedbd2;
  --shadow: 0 18px 50px rgba(26, 68, 59, 0.1);
  --radius-lg: 2rem;
  --radius-md: 1.35rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--teal);
  color: white;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(13, 103, 93, 0.18);
}

.privacy-link {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--teal-deep);
  cursor: pointer;
}

.privacy-link:hover {
  border-bottom-color: currentColor;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  padding: 56px 0 84px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6.2vw, 5.7rem);
  font-weight: 520;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 520;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 620;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.primary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 680;
  box-shadow: 0 12px 28px rgba(13, 103, 93, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--teal-deep);
  box-shadow: 0 16px 32px rgba(13, 103, 93, 0.27);
}

.text-link {
  color: var(--teal-deep);
  font-weight: 650;
  text-underline-offset: 5px;
}

.banner-shell {
  width: 100%;
  margin: 0;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(13, 103, 93, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow);
}

.banner {
  width: 100%;
  max-height: 390px;
  display: block;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 12px);
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}

.intro > p {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.features-section {
  padding-bottom: 110px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  min-height: 310px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
}

.feature-card--teal {
  border-color: transparent;
  background: var(--teal);
  color: white;
}

.feature-card--mint {
  border-color: transparent;
  background: var(--mint);
}

.feature-card--coral {
  border-color: rgba(238, 117, 95, 0.2);
  background: #fff0eb;
}

.feature-number {
  position: absolute;
  top: 26px;
  right: 30px;
  color: currentColor;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--teal);
}

.feature-card--teal .feature-icon {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.feature-icon svg {
  width: 29px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-top: 36px;
}

.feature-card p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.feature-card--teal p {
  color: rgba(255, 255, 255, 0.78);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 78px;
  padding: clamp(36px, 6vw, 70px);
  border-radius: var(--radius-lg);
  background: var(--teal);
  color: white;
}

.cta .section-kicker {
  color: var(--mint-strong);
}

.cta h2 {
  max-width: 780px;
}

.primary-button--light {
  flex: 0 0 auto;
  background: white;
  color: var(--teal-deep);
  box-shadow: none;
}

.primary-button--light:hover {
  background: var(--mint);
}

.site-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.privacy-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(86vh, 880px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(18, 45, 39, 0.28);
  overflow: hidden;
}

.privacy-dialog::backdrop {
  background: rgba(15, 37, 33, 0.58);
  backdrop-filter: blur(5px);
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 116px;
  padding: 26px 96px 22px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.97);
}

.dialog-header > div {
  min-width: 0;
}

.dialog-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  overflow-wrap: anywhere;
}

.dialog-header .section-kicker {
  margin-bottom: 8px;
}

.dialog-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-deep);
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--mint-strong);
}

.dialog-close svg {
  width: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.dialog-content {
  max-height: calc(min(86vh, 880px) - 120px);
  padding: 26px 34px 42px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-content p {
  margin: 0 0 22px;
  color: #50615d;
}

.dialog-content ul {
  margin: -6px 0 24px;
  padding-left: 24px;
  color: #50615d;
}

.dialog-content li + li {
  margin-top: 8px;
}

.dialog-content a {
  color: var(--teal-deep);
  font-weight: 650;
  text-underline-offset: 3px;
}

.dialog-content h3 {
  margin: 32px 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.dialog-content .policy-date {
  color: var(--teal);
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .banner-shell {
    width: min(760px, 100%);
    justify-self: center;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 78px;
  }

  .site-header > .privacy-link {
    display: none;
  }

  .hero {
    padding: 34px 0 70px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.1rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .primary-button {
    width: 100%;
  }

  .text-link {
    align-self: center;
  }

  .banner-shell {
    padding: 10px;
    border-radius: 24px;
  }

  .banner {
    border-radius: 16px;
  }

  .intro {
    padding: 64px 0 78px;
  }

  .features-section {
    padding-bottom: 78px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 285px;
  }

  .cta {
    margin-bottom: 54px;
  }

  .site-footer {
    min-height: 132px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .dialog-header {
    min-height: 104px;
    padding: 20px 74px 18px 18px;
  }

  .dialog-close {
    width: 46px;
    height: 46px;
    top: 14px;
    right: 14px;
  }

  .dialog-content {
    padding: 22px 22px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
